package com.aat.dxfy.anno;

import java.lang.reflect.Method;

import com.aat.dxfy.anno.core.RequestMapping;

public class Zoo {

	public static void main(String[] args) throws ClassNotFoundException {
		Class<?> rt_cls=Class.forName("com.aat.dxfy.anno.web.ListController");
		Method[] ms=rt_cls.getMethods();
		for (Method m:ms) {
			if(m.isAnnotationPresent(RequestMapping.class)){
				RequestMapping requestMapping=m.getAnnotation(RequestMapping.class);
				
				System.out.println(requestMapping);
			}
		}
	}

}
